package com.settlement.system.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelProperty;
import java.util.HashMap;
import java.util.Map;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* <p>
* 百盛退货单表导入VO
* </p>
*
* @author huangrensen
* @since 2024-09-06
*/
@Schema
@Data
public class BsOmsReturnOrderImportVo implements Serializable {
    @ExcelProperty(value = "店铺")
    private String storeName;
    @ExcelProperty(value = "售后单号")
    private String asId;
    @ExcelProperty(value = "内部订单号")
    private String oId;
    @ExcelProperty(value = "线上申请金额")
    private String buyerApplyRefund;
    @ExcelProperty(value = "线上退运费")
    private String shopFreight;
    @ExcelProperty(value = "优惠/差额")
    private String freeAmount;
    @ExcelProperty(value = "卖家应退金额")
    private String refund;
    @ExcelProperty(value = "买家应补偿金额")
    private String payment;
    @ExcelProperty(value = "实际应退金额")
    private String actBackAmount;
    @ExcelProperty(value = "商品应退金额")
    private String goodsBackAmount;
    @ExcelProperty(value = "换货金额")
    private String transferAmount;
    @ExcelProperty(value = "卖家应补")
    private String urefund;
    @ExcelProperty(value = "线上订单号")
    private String soId;
    @ExcelProperty(value = "状态")
    private String status;
    @ExcelProperty(value = "货物状态")
    private String goodStatus;
    @ExcelProperty(value = "最后确认日期")
    private String confirmDate;
    @ExcelProperty(value = "登记时间")
    private String created;
    @ExcelProperty(value = "申请日期")
    private String asDate;
    @ExcelProperty(value = "售后分类")
    private String type;
    @ExcelProperty(value = "商品编码")
    private String skuId;
    @ExcelProperty(value = "线上子订单编号")
    private String outerOiId;
    @ExcelProperty(value = "申请数量")
    private String qty;
    @ExcelProperty(value = "退货数量")
    private String rQty;
    @ExcelProperty(value = "线上明细金额")
    private String shopAmount;
    @ExcelProperty(value = "单价")
    private String price;
    @ExcelProperty(value = "申请金额")
    private String amount;
    @ExcelProperty(value = "是否赠品")
    private String isGift;
    @ExcelProperty(value = "商品品牌")
    private String brand;



    public static Map<String, String> getKeyMap(){
        Map<String, String> map = new HashMap<>();
        map.put("店铺ID", "storeId");
        map.put("售后单号", "asId");
        map.put("内部订单号", "oId");
        map.put("线上申请金额", "buyerApplyRefund");
        map.put("线上退运费", "shopFreight");
        map.put("优惠/差额", "freeAmount");
        map.put("卖家应退金额", "refund");
        map.put("买家应补偿金额", "payment");
        map.put("实际应退金额", "actBackAmount");
        map.put("商品应退金额", "goodsBackAmount");
        map.put("换货金额", "transferAmount");
        map.put("卖家应补", "urefund");
        map.put("线上订单号", "soId");
        map.put("状态", "status");
        map.put("货物状态", "goodStatus");
        map.put("最后确认日期", "confirmDate");
        map.put("登记时间", "created");
        map.put("申请日期", "asDate");
        // 明细
        map.put("售后分类", "type");
        map.put("商品编码", "skuId");
        map.put("线上子订单编号", "outerOiId");
        map.put("申请数量", "qty");
        map.put("退货数量", "rQty");
        map.put("线上明细金额", "shopAmount");
        map.put("单价", "price");
        map.put("申请金额", "amount");
        map.put("是否赠品", "isGift");
        map.put("商品品牌", "brand");
        return map;
    }
}
